home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / ATL_Samples / countctn / counter.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.0 KB  |  36 lines

  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2.  
  3. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  4. //  Microsoft Visual C++, your modifications will be overwritten.
  5.  
  6.  
  7. #include "stdafx.h"
  8. #include "counter.h"
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CFullCtrl1
  12.  
  13. IMPLEMENT_DYNCREATE(CCounter, CWnd)
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CCounter properties
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CCounter operations
  20. void CCounter::StartCounting()
  21. {
  22.     InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  23. }
  24.  
  25. void CCounter::SetMaxCounter(int nMax)
  26. {
  27.     static BYTE parms[] = {VT_I4};
  28.     InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms, nMax);
  29. }
  30.  
  31. void CCounter::GetInfoFromCounter(LPCTSTR pInfo)
  32. {
  33.     static BYTE parms[] = VTS_BSTR;
  34.     InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms, pInfo);
  35. }
  36.